﻿using System;
using System.Data;
using System.Windows.Controls;
using SLS.ExClassLib.Event;
using SLS.ExClassLib.DataType;
using SLS.ExClassLib.Data;
namespace SLS.Base
{
    public partial class ExKEY
    {
        public override void CMDEXE_TextChanged(object sender, TextChangedEventArgs e)
        {
            try
            {
                base.CMDEXE_TextChanged(sender, e);
            }
            catch (Exception ex)
            {
                throw;
            }

        }
        public override ExDataRow commandNew(string SM, string KEYDEFTYPE, string GTPRE, string GTKEY, string KEYINSTANCETABLE)
        {
            ExDataRow row = null;
            try
            {
                row = base.commandNew(SM, KEYDEFTYPE, GTPRE, GTKEY, KEYINSTANCETABLE);
            }
            catch (Exception ex)
            {
                throw;
            }
            return row;
        }
        public override ExDataRow commandCopy(ExDataRow dwThis)
        {
            ExDataRow row = null;
            try
            {
                row = base.commandCopy(dwThis);
            }
            catch (Exception ex)
            {
                throw;
            }
            return row;
        }
        public override void commandDelete(ExDataRow dwThis)
        {
            try
            {
                base.commandDelete(dwThis);
            }
            catch (Exception ex)
            {
                throw;
            }
        }
        public override void commandModify(ExDataRow dwThis)
        {
            try
            {
                base.commandModify(dwThis);
            }
            catch (Exception ex)
            {
                throw;
            }
        }
        public override void commandInformation(ExDataRow dwThis)
        {
            try
            {
                base.commandInformation(dwThis);
            }
            catch (Exception ex)
            {
                throw;
            }
        }
        public override void commandSave(ExDataRow dwThis)
        {
            try
            {
                dwThis.OnSaveRecord(1); 
            }
            catch (Exception ex)
            {
                throw;
            }
        }
         
    }
}
